package com.example.springboot.service;

import com.example.springboot.entity.User;
import com.example.springboot.controller.request.UserPageRequest;
import java.util.List;

public interface IUserService {
    List<User> list();
    List<User> listByCondition(UserPageRequest userPageRequest);
    User findById(String loginId);
    void save(User user);
    void update(User user);
    void delete(String loginId);

    Object page(UserPageRequest userPageRequest);

    User login(String loginId, String password);
}